home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group99a.txt / 000152_icon-group-sender _Tue Jul 13 07:57:47 1999.msg < prev    next >
Internet Message Format  |  2000-09-20  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id HAA01858
  4.     for icon-group-addresses; Tue, 13 Jul 1999 07:56:47 -0700 (MST)
  5. Message-Id: <199907131456.HAA01858@baskerville.CS.Arizona.EDU>
  6. Date: Tue, 13 Jul 1999 12:18:39 +0100 (BST)
  7. From: Hugh Sasse <hgs@dmu.ac.uk>
  8. To: Gregg Townsend <gmt@optima.CS.Arizona.EDU>
  9. cc: icon-group@optima.CS.Arizona.EDU
  10. Subject: Re: Versions 9.3.2 of Icon and IPL available for Unix
  11. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  12. Status: RO
  13.  
  14. On 10 Jul 1999, Gregg Townsend wrote:
  15.  
  16. > Version 9.3.2 adds one new feature to Icon:  The files in a directory
  17. > can be listed by opening the directory as a file.  Subsequent reads
  18. > return the names of the files contained in the directory.  The names
  19. > are returned in no particular order, and for Unix, the directories
  20. > "." and ".." are included. 
  21. I cannot see a function which will allow one to determine if the list of
  22. names one is reading is due to reading a genuine directory or a file
  23. produced by 'ls -a > files'.  There seems to be no stat or lstat function.  
  24. Have I missed something?
  25.  
  26.     Thank you.
  27.     Hugh
  28.     hgs@dmu.ac.uk
  29.  
  30.